Internal function that allows StoredLearningSession to reduce database calls.
Parent Type: PackageStore
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
protected internal abstract PackageReader GetPackageReader ( ) |
packageId
The id of the package to read.
packageLocation
The value of the Location column in LearningStore for this package. Note that this may not be validated by the derived class as matching packageId. If it does not match the packageId, the results are unpredictable, but the package should be read from this location.
A reader for the requested package.
| Exception type | Condition |
| LearningStoreItemNotFoundException | Thrown if packageId does not represent a package in the store. |